package cn.tedu.mall1.product.service.Impl;

import cn.tedu.mall1.product.mapper.ProductMapper;
import cn.tedu.mall1.product.pojo.dto.ProductDTO;
import cn.tedu.mall1.product.pojo.vo.ProductVO;
import cn.tedu.mall1.product.service.ProductService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ProductServiceImpl implements ProductService {
    @Autowired
    ProductMapper productMapper;

    @Override
    public List<ProductDTO> select(ProductVO productVO) {
        log.debug("id"+productVO);
        return productMapper.select(productVO);
    }



}
